﻿using System;
namespace HsTec.Mobile.Green.Model
{
    /// <summary>
    /// 实体类IndexFormula
    /// </summary>
    [Serializable]
    public class IndexFormula
    {
        public IndexFormula()
        { }
        #region Model
        private int _if_id;
        private string _indexname;
        private string _formulano;
        private string _formula;
        private int? _formulaparent;
        private int? _outof;
        private string _formulasql;
        private string _yearstate;
        private int? _formulachildcount;
        private string _isprocedure;
        private string _indexsql;
        /// <summary>
        /// 流水号
        /// </summary>
        public int IF_ID
        {
            set { _if_id = value; }
            get { return _if_id; }
        }
        /// <summary>
        /// 指标名称
        /// </summary>
        public string IndexName
        {
            set { _indexname = value; }
            get { return _indexname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FormulaNo
        {
            set { _formulano = value; }
            get { return _formulano; }
        }
        /// <summary>
        /// 公式
        /// </summary>
        public string Formula
        {
            set { _formula = value; }
            get { return _formula; }
        }
        /// <summary>
        /// 父节点
        /// </summary>
        public int? FormulaParent
        {
            set { _formulaparent = value; }
            get { return _formulaparent; }
        }
        /// <summary>
        /// 满分
        /// </summary>
        public int? OutOf
        {
            set { _outof = value; }
            get { return _outof; }
        }
        /// <summary>
        /// 对应公式的SQL语句
        /// </summary>
        public string FormulaSQL
        {
            set { _formulasql = value; }
            get { return _formulasql; }
        }
        /// <summary>
        /// 相差年月
        /// </summary>
        public string YearState
        {
            set { _yearstate = value; }
            get { return _yearstate; }
        }
        /// <summary>
        /// 孩子节点的个数
        /// </summary>
        public int? FormulaChildCount
        {
            set { _formulachildcount = value; }
            get { return _formulachildcount; }
        }
        /// <summary>
        /// 是否生成存储过程
        /// </summary>
        public string IsProcedure
        {
            set { _isprocedure = value; }
            get { return _isprocedure; }
        }
        /// <summary>
        /// 生成指标的SQL语句
        /// </summary>
        public string IndexSQL
        {
            set { _indexsql = value; }
            get { return _indexsql; }
        }
        #endregion Model

    }
}

